import socket
import time

if __name__ == '__main__':
    svr_addr = '192.168.55.220'
    port = 5450
    
    for i in range(0,100):
        s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
        s.connect((svr_addr, port))
        print i,s
        s.close()
        
        time.sleep(5)
    
   
    print 'end'